package com.example.demo.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.ZonedDateTime;
import java.util.Date;

/**
 * @Description
 * @Author chenhuiyu
 */
@Data
public class BaseEntity implements Serializable {
    private String creator = "test";
    private Date createTime = Date.from(ZonedDateTime.now().toInstant());
    private Date updateTime = Date.from(ZonedDateTime.now().toInstant());
    private Integer flag = 1;
}
